﻿using RockBus.Messages.Interfaces;

namespace RockBus.Routing.Interfaces
{
    public enum MessageProcessorEnum
    {
        ReceivePort,
        EvaluationManager,
        PersistenceSendPort,
        PersistencePublisher,
        DeliverySendPort,
        ErrorManager,
    }

    public interface IMessageProcessor
    {
        MessageProcessorEnum ProcessingStep { get; }

        void ProcessMessage(IMessageContext messageContext);
    }
}